package com.example.demo.entity.vo;

import lombok.Data;

import java.util.List;

/**
 * 分页展示
 */
@Data
public class PageVO{
    private long total; //总记录数

    private List records; //当前页数据集合

    public List getRecords() {
        return records;
    }

    public void setRecords(List records) {
        this.records = records;
    }

    public long getTotal() {
        return total;
    }

    public void setTotal(long total) {
        this.total = total;
    }
}
